#include "FITKCDCfgCSetBase.h"

using namespace Interface;

void FITKCDCfgCSetBase::setSound_Speed(double dVal)
{
	setValue("Sound_Speed", dVal);
}
void FITKCDCfgCSetBase::setCFL(double dVal)
{
	setValue("CFL", dVal);
}
void FITKCDCfgCSetBase::setBackground_Pressure(double dVal)
{
	setValue("Background_Pressure", dVal);
}
void FITKCDCfgCSetBase::setInitial_dx(double dVal)
{
	setValue("Initial_dx", dVal);
}
void FITKCDCfgCSetBase::setSimulation_Time(double dVal)
{
	setValue("Simulation_Time", dVal);
}
void FITKCDCfgCSetBase::setSave_Time_Steps(double dVal)
{
	setValue("Save_Time_Steps", dVal);
}
void FITKCDCfgCSetBase::setMonitor_Time_Steps(double dVal)
{
	setValue("Monitor_Time_Steps", dVal);
}
void FITKCDCfgCSetBase::setPrint_Steps(int nVal)
{
	setValue("Print_Steps", nVal);
}
void FITKCDCfgCSetBase::setMaximum_Particles(int nVal)
{
	setValue("Maximum_Particles", nVal);
}
void FITKCDCfgCSetBase::setSmoothed_Kernel_Function(int nVal)
{
	setValue("Smoothed_Kernel_Function", nVal);
}
void FITKCDCfgCSetBase::setTime_Integration(int nVal)
{
	setValue("Time_Integration", nVal);
}
void FITKCDCfgCSetBase::setOutput_File_Type(int nVal)
{
	setValue("Output_File_Type", nVal);
}
void FITKCDCfgCSetBase::setBound_Output(bool bVal)
{
	setValue("Bound_Output", bVal);
}

void FITKCDCfgCSetBase::setCompute_Force(int nVal)
{
	setValue("Compute_Force", nVal);
}
void FITKCDCfgCSetBase::setCompute_Rigid_Normalvector(bool bVal)
{
	setValue("Compute_Rigid_Normalvector", bVal);
}
void FITKCDCfgCSetBase::setDelete_Particles(bool bVal)
{
	setValue("Delete_Particles", bVal);
}
void FITKCDCfgCSetBase::setRigid_Output(bool bVal)
{
	setValue("Rigid_Output", bVal);
}


double FITKCDCfgCSetBase::getSound_Speed()
{
	return getValue("Sound_Speed").toDouble();
}
double FITKCDCfgCSetBase::getCFL()
{
	return getValue("CFL").toDouble();
}
double FITKCDCfgCSetBase::getBackground_Pressure()
{
	return getValue("Background_Pressure").toDouble();
}
double FITKCDCfgCSetBase::getInitial_dx()
{
	return getValue("Initial_dx").toDouble();
}
double FITKCDCfgCSetBase::getSimulation_Time()
{
	return getValue("Simulation_Time").toDouble();
}
double FITKCDCfgCSetBase::getSave_Time_Steps()
{
	return getValue("Save_Time_Steps").toDouble();
}
double FITKCDCfgCSetBase::getMonitor_Time_Steps()
{
	return getValue("Monitor_Time_Steps").toDouble();
}
int FITKCDCfgCSetBase::getPrint_Steps()
{
	return getValue("Print_Steps").toInt();
}
int FITKCDCfgCSetBase::getMaximum_Particles()
{
	return getValue("Maximum_Particles").toInt();
}
int FITKCDCfgCSetBase::getSmoothed_Kernel_Function()
{
	return getValue("Smoothed_Kernel_Function").toInt();
}
int FITKCDCfgCSetBase::getTime_Integration()
{
	return getValue("Time_Integration").toInt();
}
int FITKCDCfgCSetBase::getOutput_File_Type()
{
	return getValue("Output_File_Type").toInt();
}
bool FITKCDCfgCSetBase::getBound_Output()
{
	return getValue("Bound_Output").toBool();
}

int FITKCDCfgCSetBase::getCompute_Force()
{
	return getValue("Compute_Force").toInt();
}
bool FITKCDCfgCSetBase::getCompute_Rigid_Normalvector()
{
	return getValue("Compute_Rigid_Normalvector").toBool();
}
bool FITKCDCfgCSetBase::getDelete_Particles()
{
	return getValue("Delete_Particles").toBool();
}
bool FITKCDCfgCSetBase::getRigid_Output()
{
	return getValue("Rigid_Output").toBool();
}
